/*
 * @Author: lsmi
 * @Date: 2021-06-08 20:33:28
 * @LastEditors: lsmi
 * @LastEditTime: 2021-12-01 20:35:24
 * @FilePath: \v2_play_js\src\main.js
 */
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUi from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import "./assets/tailwind.css";
import OutSide from "./plugins/outside";
import "reset.css";
import LsmiLib from "vue-cli-npm-lsmi";
import VueI18n from "vue-i18n";
import LimeUi from "lime-ui";
import "./plugins/v-charts";
import { Drawer } from "element-ui";
import { VueJsonp } from "vue-jsonp";

import vConsole from "vconsole";
new vConsole();
let env = process.env.VUE_APP_PATH_URL;

Vue.use(VueI18n).use(LsmiLib).use(VueJsonp);
const vueI18n = new VueI18n({
  locale: "zh", // set locale
  messages: {
    zh: {
      login: "登录",
    }, // 中文语言包
    en: {
      login: "login",
    }, // 英文语言包
  },
});
// import VueAwesomeSwiper from "vue-awesome-swiper";
// import style (>= Swiper 6.x)
// import "swiper/swiper-bundle.css";

Vue.use(ElementUi);
// Vue.use(VueAwesomeSwiper);
console.log(Vue.compile, "VueCompile", Drawer);
Vue.config.productionTip = false;

Vue.directive("outSide", OutSide);

new Vue({
  router,
  store,
  i18n: vueI18n,
  render: (h) => h(App),
}).$mount("#app");
